package com.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.domain.entity.Consultation;
import com.common.domain.vo.AppointmentSlot;
import com.common.domain.vo.AppointmentVo;
import com.common.domain.vo.ConsultationVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ConsultationMapper   extends BaseMapper<Consultation> {

    AppointmentSlot getDateAppointmentInfo(@Param("id") Long id,@Param("date") String date);

    List<String> getUserConsultationInfoDateList(@Param("id") Long id);

    List<AppointmentVo> getAppointmentLog(@Param("id") Long id, @Param("type") String type);

    List<ConsultationVo> allConsultationList(@Param("id")Long userId, @Param("userName") String name,
                                             @Param("time")String time, @Param("status")String status);
}
